package com.jc.subject.application.convert;

import com.jc.subject.application.dto.SubjectAnswerDTO;
import com.jc.subject.application.dto.SubjectInfoDTO;
import com.jc.subject.domain.entity.SubjectAnswerDO;
import com.jc.subject.domain.entity.SubjectInfoDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @Author gongjiawei
 * @Date 2024/6/5 21:29
 * @注释
 */
@Mapper
public interface SubjectAnswerDTOConverter {
    SubjectAnswerDTOConverter INSTANCE= Mappers.getMapper(SubjectAnswerDTOConverter.class);
    SubjectAnswerDO convertDTOToBO(SubjectAnswerDTO subjectInfoDTO);

    List<SubjectAnswerDO> convertDTOToBOList(List<SubjectAnswerDTO> subjectInfoDTO);
     List<SubjectAnswerDTO>convertBoToAnswerDTOList(List<SubjectAnswerDO> subjectCategoryDO);


}
